package top.lyjwn.todo.weinxin.mch.service;

import top.lyjwn.todo.common.template.R;
import top.lyjwn.todo.weinxin.data.mcg2022.jsapi.JsapiOrder;
import top.lyjwn.todo.weinxin.data.mch.RefundResultNoticeReqInfo;

/**
 * 微信支付相关的回调处理逻辑
 *
 * @author luoyujie
 */
public interface WXPayNotarize2022 {

    /**
     * 支付成功回调逻辑
     * @param jsapiOrder
     * @return
     */
    R jsapiPayCallBack(JsapiOrder jsapiOrder);

    /**
     * 退款通知回调逻辑
     * @param refundResultNoticeReqInfo
     * @return
     */
    R jsapiRefundCallBack(RefundResultNoticeReqInfo refundResultNoticeReqInfo);
}
